<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var date = new Date(86400000)
    console.log(date)                    // Fri Jan 02 1970 08:00:00 GMT+0800 (中国标准时间)
   console.log(date.toUTCString())   // Fri,  02 Jan 1970 00:00:00 GMT
    console.log(date.toDateString())  //  Fri Jan 02 1970
</script>
</html>